"use strict";
cc._RF.push(module, 'be8b8ne7SlM+binZuNFkkz4', 'PlayData');
// Script/SdkTools/PlayData.ts

"use strict";
/**
 * 游戏中涉及到一些全局数据
 * 单例
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeroType = exports.GameType = void 0;
var GameType;
(function (GameType) {
    GameType[GameType["finddifference_zhaobutong"] = 7] = "finddifference_zhaobutong";
})(GameType = exports.GameType || (exports.GameType = {}));
var HeroType;
(function (HeroType) {
    HeroType[HeroType["hero"] = 0] = "hero";
    HeroType[HeroType["ding"] = 1] = "ding"; //大鼎
})(HeroType = exports.HeroType || (exports.HeroType = {}));
var PlayData = /** @class */ (function () {
    function PlayData() {
        this.openId = null;
        this.aixinnum = 0;
        this.gameType = GameType.finddifference_zhaobutong;
        this.heroType = HeroType.hero;
        this.checkoutNum = 0;
        this.shareGameGetItem = 2; //分享游戏获得道具次数
        this.isshare = false;
        this.userInfo = {
            hightScore: 0,
            icon: '',
            openid: '',
            name: ''
        };
        this.ispause = !1;
    }
    Object.defineProperty(PlayData, "Instance", {
        get: function () {
            if (this._instance == null) {
                this._instance = new PlayData();
            }
            return this._instance;
        },
        enumerable: false,
        configurable: true
    });
    PlayData._instance = null;
    return PlayData;
}());
exports.default = PlayData;

cc._RF.pop();